package com.example.demo.jdkproxy;

import com.example.demo.service.IService;
import com.example.demo.service.impl.ServiceImplA;

/**
 * @author <a href="https://blog.qinghuan.fun/index.php/go/gu/">Mr_Gu</a>
 * @apiNote
 * @date 2023-09-06 09:41
 * @since
 **/
public class CostTimeInvocationHandlerTest {

    public static void main(String[] args) {
        IService serviceA = CostTimeInvocationHandler.createProxy(new ServiceImplA(), IService.class);
        serviceA.a();
        serviceA.b();
        serviceA.c();
    }

}
